﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Rank.aspx.cs" Inherits="BaoJian.WebManager.Function.ExProduct.Rank" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link href="../../../style/Style.css" type="text/css" rel="stylesheet">
</head>
<body background="../../../images/right-bj.gif" bottommargin="0">
    <form id="form1" runat="server">
    <br />
    <div style="width: 100%; height: 30px; border: dotted 1px #e81515; background-color: f2fbfa;
        text-align: center">
        本栏目限定为10条记录</div>
    <div style="float: left">
        <div style="float: left; width: 400px">
            <asp:Label ID="Msg" runat="server" Visible="true"></asp:Label></div>
        <div style="float: right">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="New" runat="server" Text="新建" OnClick="New_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Edit" runat="server" Text="编辑" OnClick="Edit_Click" />&nbsp;&nbsp;
            <asp:Button ID="Delete" runat="server" Text="删除" OnClick="Delete_Click" />&nbsp;&nbsp;
        </div>
    </div>
    <br />
    <br />
    <br />
    <div style="float: left">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderStyle="None"
            BorderWidth="1px" BorderColor="#CCCCCC" BackColor="White" CellPadding="3" Width="100%"
            AllowPaging="True">
            <HeaderStyle Font-Size="9pt" Font-Names="宋体" Font-Bold="True" ForeColor="Black" BackColor="SkyBlue">
            </HeaderStyle>
            <SelectedRowStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedRowStyle>
            <RowStyle ForeColor="Black" BackColor="White"></RowStyle>
            <Columns>
                <asp:BoundField DataField="SID" HeaderText="序号" ReadOnly="True" SortExpression="SID">
                    <ItemStyle Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="PName" HeaderText="产品名称" ReadOnly="True" SortExpression="PName">
                    <ItemStyle Width="200px" />
                </asp:BoundField>
                <asp:BoundField DataField="TotalNum" HeaderText="交换的产品总数量" ReadOnly="True" SortExpression="TotalNum">
                    <ItemStyle Width="200px" />
                </asp:BoundField>
                <asp:ImageField HeaderText="图片" DataImageUrlField="ImagePath" DataImageUrlFormatString="{0}">
                    <ControlStyle Height="50px" Width="50px" />
                    <ItemStyle Width="200px" />
                </asp:ImageField>
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                        <input type="checkbox" id="selectCB" name="selectCB" value="<%#DataBinder.Eval(Container.DataItem,"OID") %>">
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <AlternatingRowStyle BackColor="#E0E0E0" BorderColor="DarkGray" BorderStyle="Dashed"
                BorderWidth="1px" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>
